/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.asu.cse360.service;

import edu.asu.cse360.model.Chef;
import edu.asu.cse360.model.CustomerSession;
import edu.asu.cse360.model.Employee;
import edu.asu.cse360.model.ItemOrder;
import edu.asu.cse360.model.MenuItem;
import edu.asu.cse360.model.OrderStatus;
import edu.asu.cse360.model.Restaurant;
import edu.asu.cse360.model.WaitPerson;
import java.util.List;
import org.joda.time.DateTime;


public interface ItemOrderService {

    List<ItemOrder> getCurrentOrders(Employee employee);

    ItemOrder setStatus(ItemOrder selectedItemOrder, OrderStatus orderStatus, Employee employee);

    ItemOrder save(ItemOrder selectedItemOrder);

    List<ItemOrder> getItemOrders(Restaurant restaurant, DateTime start, DateTime end);

    ItemOrder find(Integer id);

    ItemOrder remove(ItemOrder itemOrder);

    List<ItemOrder> getItemOrders(CustomerSession customerSession);

    void deleteAllTiedToMenuItem(MenuItem menuItem);

    List<ItemOrder> findByWaitPerson(WaitPerson waitPerson);

    List<ItemOrder> findByChef(Chef chef);

    

}
